<template>
  <view class="box"
    :style="{
      padding: ktUtil.unitOrRpx(padding)
    }">
    <slot></slot>
  </view>
</template>

<script>
import ktUtil from "@/uni_modules/uniapp-kantboot/libs/util"

export default {
  props: {
    padding: {
      type: [String, Number],
      default: 30
    }
  },
  data() {
    return {
      ktUtil,
    };
  },
  methods: {
    loading() {

    },
  }
}
</script>

<style lang="scss" scoped>

</style>
